package com.ruoyi.insect.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病虫害信息查询对象 disease_info
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public class DiseaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 病虫害名称 */
    @Excel(name = "病虫害名称")
    private String name;

    /** 危害作物类型 */
    @Excel(name = "危害作物类型")
    private String type;

    /** 病虫害症状 */
    @Excel(name = "病虫害症状")
    private String symptom;

    /** 病虫害解决方案 */
    @Excel(name = "病虫害解决方案")
    private String solution;

    /** 示例图片路径 */
    @Excel(name = "示例图片路径")
    private String imageUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }

    public void setSolution(String solution) 
    {
        this.solution = solution;
    }

    public String getSolution() 
    {
        return solution;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("symptom", getSymptom())
            .append("solution", getSolution())
            .append("imageUrl", getImageUrl())
            .toString();
    }

}
